﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhpDocBlockGenerator.ViewModel.Communication
{
    /// <summary>
    /// 
    /// </summary>
    public class NotificationEventArgs : EventArgs
    {
        public String Message { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="TOutgoing"></typeparam>
    public class NotificationEventArgs<TOutgoing> : NotificationEventArgs
    {
        public TOutgoing Data { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="TOutgoing"></typeparam>
    /// <typeparam name="TIncoming"></typeparam>
    public class NotificationEventArgs<TOutgoing, TIncoming> : NotificationEventArgs<TOutgoing>
    {
        public Action<TIncoming> Completed { get; set; }
    }
}
